<template>
	<view>
		<view class="choiceBox">
			<view class="choiceList wrap">
				<view class="ListBox " v-for="(item,index) in 5" :key="index">
					<view class="label" >冬季冬季冬季冬季 </view>
					<view class="delete">×</view>
				</view>
			</view>
		</view>
		
		<view class="labelList wrap">
			<view class="option" v-for="(item,index) in 6" :key="index">标签标签</view>
		</view>
		<view class="addlabel">
			<textarea  placeholder="最多可添加五个标签" />
		</view>
		<view class="Tips">最多可添加五个标签</view>
		<view class="Add">添加</view>
	</view>
</template>

<script>
	export default {
		data() {
			return {
				
			}
		},
		onLoad() {
			uni.setNavigationBarTitle({
			    title:"添加标签"
			});
		},
		methods: {
			
		}
	}
</script>

<style>
	.Add{
		margin: 30rpx;
		line-height: 70rpx;
		color: #FFFFFF;
		border-radius: 40rpx;
		color: #FFFFFF;
		background-color: #FF2549;
		text-align: center;
		font-size: 32rpx;
		position: fixed;
		bottom: 0;
		width: 690rpx;
	}
	.Tips{
		margin: 0 20rpx;
		font-size: 24rpx;
		color: #999999;
	}
	.addlabel{
		margin: 0 20rpx;
	}
	.addlabel textarea{
		background-color: #F8F8F8;
		width: 100%;
		border-radius: 20rpx;
		padding: 10rpx 20rpx;
	}
	.labelList .option{
		border: 1rpx solid #666;
		padding: 0 20rpx;
		line-height: 40rpx;
		border-radius: 20rpx;
		margin-bottom: 20rpx;
		margin-right: 30rpx;
		max-width: 130rpx;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space:nowrap;
		/* box-sizing: border-box; */
	}
	.labelList{
		margin: 20rpx;
		display: flex;
	}
	.choiceList  .delete{
		position: absolute;
		top: 0rpx;
		right: -10rpx;
		width: 25rpx;
		height: 25rpx;
		line-height: 22rpx;
		text-align: center;
		font-size: 24rpx;
		color: #FFFFFF;
		background-color:#FF2549 ;
		border-radius: 50%;
		z-index: 1000;
		
	}
	.choiceList .label{
		padding: 0 20rpx;
		border: 1rpx solid #FF2549;
		color:#FF2549 ;
		line-height: 45rpx;
		border-radius: 30rpx;
		height: 45rpx;
		margin-top: 10rpx;
		max-width: 150rpx;
		text-overflow: ellipsis;
		overflow: hidden;
		white-space:nowrap;
	}
	.ListBox{
		display: flex;
		position: relative;
		margin-right: 40rpx;
	}
	.choiceList{
		display: flex;
		height: 170rpx;
		border-bottom: 1rpx solid #EEEEEE;
	}
	.choiceBox{
		border-top:1rpx solid #EEEEEE ;
		padding: 10rpx 20rpx;
	}
	page{
		background-color: #FFFFFF;
	}
	.flex{
		display: flex;
		justify-content: space-between;
		align-items: center;
	}
	.wrap{
		flex-wrap: wrap;
	}
</style>
